using UnityEngine;
using System.Collections;

public delegate void PassTimeCoef (float _fNewTimeCoef);


public class ExternalTimeController : MonoBehaviour
{
	private PassTimeCoef	 	m_dPassTimeCoefDelegate;
	
	public void SetDelegateToChangeTimeCoef(PassTimeCoef _dPassTimeCoefDelegate)
	{
		m_dPassTimeCoefDelegate = _dPassTimeCoefDelegate;
	}
	
	public void ChangeTimeData(float _fNewTimeCoef)
	{
		m_dPassTimeCoefDelegate(_fNewTimeCoef);
	}
}